import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
//全局过滤器
import './plugin/filters'
//全局方法
import globalMethods from './plugin/global-methods'

Vue.use(globalMethods);

//引入ElementUI
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import 'element-ui/lib/theme-chalk/display.css';

import './plugin/v-md-editor'

//引入自定义图标
import './assets/icon/iconfont.css'

//改变滚动条样式
import './assets/common/css/scrollbar.css'
//CSS全局变量
import './assets/common/css/globalVar.css'
import './assets/common/css/global.css'

//路由守卫
import './permission'

Vue.use(ElementUI);


Vue.config.productionTip = false

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')
